<!-- 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 CACHE_CLEAR_WAITING_THRESHOLD = "dubbo.application.url.cache.clear.waiting";
    String CLUSTER_INTERCEPTOR_COMPATIBLE_KEY = "dubbo.application.cluster.interceptor.compatible";
    String UTF8ENCODE = "UTF-8";
    /**
     * Pseudo URL prefix for loading from the class path: "classpath:".
     */
    String CLASSPATH_URL_PREFIX = "classpath:";
    String DEFAULT_VERSION = "0.0.0";
    String CLASS_DESERIALIZE_OPEN_CHECK = "dubbo.security.serialize.openCheckClass";
    String ROUTER_KEY = "router";
    String EXPORT_ASYNC_KEY = "export-async";
    String REFER_ASYNC_KEY = "refer-async";
    String EXPORT_BACKGROUND_KEY = "export-background";
    String REFER_BACKGROUND_KEY = "refer-background";
    String EXPORT_THREAD_NUM_KEY = "export-thread-num";
    String REFER_THREAD_NUM_KEY = "refer-thread-num";
    int DEFAULT_EXPORT_THREAD_NUM = 10;
    int DEFAULT_REFER_THREAD_NUM = 10;
    int DEFAULT_DELAY_NOTIFICATION_TIME = 5000;
    int DEFAULT_DELAY_EXECUTE_TIMES = 10;
    /**
     * Url merge processor key
     */
    String URL_MERGE_PROCESSOR_KEY = "url-merge-processor";
    /**
     * use native image to compile dubbo's identifier
     */
    String NATIVE = "native";
    String DUBBO_MONITOR_ADDRESS = "dubbo.monitor.address";
    String SERVICE_NAME_MAPPING_KEY = "service-name-mapping";