<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->

- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.

### Environment

* Dubbo version: 3.1.x
* Operating System version: mac os\Linux
* Java version: 1.8

### Steps to reproduce this issue

1. Server
```java
public interface DemoApi {

    String methodA();

    String testCallbackMethod(String name,  ApiCallback callback);
    
    interface ApiCallback {
        String callbackMethod();
    }
}

@DubboService(methods = @Method(name="testCallbackMethod", 
                arguments = {@Argument(index = 1, type = "DemoApi$ApiCallback", callback = true)}))
public class DemoProvider implements DemoApi {
   
    @Override
    public String methodA() {
        return "ok";
    }
  
  @Override
    public String testCallbackMethod(String name, ApiCallback callback) {
        String s = callback.callbackMethod();
        return "ok";
    }
}
```

2. Consumer
```java
@RestController
public class TestController{

    @DubboReference
    DemoApi demo;

    private DemoApi.ApiCallback callback = new DemoApi.ApiCallback() {
        @Override
        public String callbackMethod() {
            //rpc context has been lost
            System.out.println("callback:" + RpcContext.getContext().getAttachment("test"));
            //This is just a simple simulation problem, in fact, it may call other services
            return demo.methodA();
        }
    };

    @GetMapping("/testDubboCallback")
    public ResponseEntity<String> testDubboCallback() {
        RpcContext.getContext().setAttachment("test", "abc");
        return ResponseEntity.ok(demo.testCallbackMethod("param" ,callback));
    }

}
```

Pls. provide [GitHub address] to reproduce this issue.

### Expected Behavior

<!-- What do you expect from the above steps？-->
RpcContext passed normally， sky tracking is normal.

### Actual Behavior

<!-- What actually happens? -->
rpc context loss, the tracking has been broken.

If there is an exception, please attach the exception trace:

```
Just put your stack trace here!
```

String SCOPE_MODEL = "scopeModel";
    String SERVICE_MODEL = "serviceModel";
    /**
     * The property name for {@link NetworkInterface#getDisplayName() the name of network interface} that
     * the Dubbo application will be ignored
     *
     * @since 2.7.6
     */
    String DUBBO_NETWORK_IGNORED_INTERFACE = "dubbo.network.interface.ignored";
    String OS_NAME_KEY = "os.name";
    String OS_LINUX_PREFIX = "linux";
    String OS_WIN_PREFIX = "win";
    String RECONNECT_TASK_TRY_COUNT = "dubbo.reconnect.reconnectTaskTryCount";
    int DEFAULT_RECONNECT_TASK_TRY_COUNT = 10;
    String RECONNECT_TASK_PERIOD = "dubbo.reconnect.reconnectTaskPeriod";
    int DEFAULT_RECONNECT_TASK_PERIOD = 1000;
    String RESELECT_COUNT = "dubbo.reselect.count";
    int DEFAULT_RESELECT_COUNT = 10;
    String ENABLE_CONNECTIVITY_VALIDATION = "dubbo.connectivity.validation";
    String DUBBO_INTERNAL_APPLICATION = "DUBBO_INTERNAL_APPLICATION";
    String RETRY_TIMES_KEY = "retry-times";
    String RETRY_PERIOD_KEY = "retry-period";
    String SYNC_REPORT_KEY = "sync-report";
    String CYCLE_REPORT_KEY = "cycle-report";
    String WORKING_CLASSLOADER_KEY = "WORKING_CLASSLOADER";
    String STAGED_CLASSLOADER_KEY = "STAGED_CLASSLOADER";
    String PROVIDER_ASYNC_KEY = "PROVIDER_ASYNC";
    String REGISTER_IP_KEY = "register.ip";
    String CURRENT_CLUSTER_INVOKER_KEY = "currentClusterInvoker";
    String ENABLE_ROUTER_SNAPSHOT_PRINT_KEY = "ENABLE_ROUTER_SNAPSHOT_PRINT";