<!-- 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 CONFIG_ENABLE_KEY = "highest-priority";
    String CONFIG_NAMESPACE_KEY = "namespace";
    String CHECK_KEY = "check";
    String BACKLOG_KEY = "backlog";
    String HEARTBEAT_EVENT = null;
    String MOCK_HEARTBEAT_EVENT = "H";
    String READONLY_EVENT = "R";
    String WRITEABLE_EVENT = "W";
    String REFERENCE_FILTER_KEY = "reference.filter";
    String HEADER_FILTER_KEY = "header.filter";
    String INVOCATION_INTERCEPTOR_KEY = "invocation.interceptor";
    String INVOKER_LISTENER_KEY = "invoker.listener";
    String REGISTRY_PROTOCOL_LISTENER_KEY = "registry.protocol.listener";
    String DUBBO_VERSION_KEY = "dubbo";
    String TAG_KEY = "dubbo.tag";
    /**
     * To decide whether to make connection when the client is created
     */
    String LAZY_CONNECT_KEY = "lazy";
    String STUB_EVENT_KEY = "dubbo.stub.event";
    String REFERENCE_INTERCEPTOR_KEY = "reference.interceptor";
    String SERVICE_FILTER_KEY = "service.filter";
    String EXPORTER_LISTENER_KEY = "exporter.listener";
    /**
     * After simplify the registry, should add some parameter individually for provider.
     *
     * @since 2.7.0
     */
    String EXTRA_KEYS_KEY = "extra-keys";
    String GENERIC_SERIALIZATION_NATIVE_JAVA = "nativejava";