<!-- 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 UNLOAD_CLUSTER_RELATED = "unloadClusterRelated";
    /**
     * used for thread isolation between services
     */
    String SERVICE_EXECUTOR = "service-executor";
    String EXECUTOR_MANAGEMENT_MODE = "executor-management-mode";
    String EXECUTOR_MANAGEMENT_MODE_DEFAULT = "default";
    String EXECUTOR_MANAGEMENT_MODE_ISOLATION = "isolation";
    /**
     *
     * used in JVMUtil.java ,Control stack print lines, default is 32 lines
     *
     */
    String DUBBO_JSTACK_MAXLINE = "dubbo.jstack-dump.max-line";
    String ENCODE_IN_IO_THREAD_KEY = "encode.in.io";
    boolean DEFAULT_ENCODE_IN_IO_THREAD = false;
    /**
     * @since 3.2.0
     */
    String BYTE_ACCESSOR_KEY = "byte.accessor";
    String PAYLOAD = "payload";
    String DUBBO_METRICS_CONFIGCENTER_ENABLE = "dubbo.metrics.configcenter.enable";
    Integer TRI_EXCEPTION_CODE_NOT_EXISTS = 0;
    String PACKABLE_METHOD_FACTORY_KEY = "serialize.packable.factory";
    String DUBBO_PACKABLE_METHOD_FACTORY = "dubbo.application.parameters." + PACKABLE_METHOD_FACTORY_KEY;
    String SERVICE_DEPLOYER_ATTRIBUTE_KEY = "serviceDeployer";
    String RESTEASY_NETTY_HTTP_REQUEST_ATTRIBUTE_KEY = "resteasyNettyHttpRequest";
    String DUBBO_MANUAL_REGISTER_KEY = "dubbo.application.manual-register";
}