<!-- 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 DEFAULT_DUBBO_PROPERTIES = "dubbo.properties";
    String DUBBO_MIGRATION_KEY = "dubbo.migration.file";
    String DUBBO_MIGRATION_FILE_ENABLE = "dubbo.migration-file.enable";
    String DEFAULT_DUBBO_MIGRATION_FILE = "dubbo-migration.yaml";
    String ANY_VALUE = "*";
    /**
     * @since 2.7.8
     */
    char COMMA_SEPARATOR_CHAR = ',';
    String COMMA_SEPARATOR = ",";
    String DOT_SEPARATOR = ".";
    Pattern COMMA_SPLIT_PATTERN = Pattern.compile("\\s*[,]+\\s*");
    String PATH_SEPARATOR = "/";
    String PROTOCOL_SEPARATOR = "://";
    String PROTOCOL_SEPARATOR_ENCODED = URL.encode(PROTOCOL_SEPARATOR);
    String REGISTRY_SEPARATOR = "|";
    Pattern REGISTRY_SPLIT_PATTERN = Pattern.compile("\\s*[|;]+\\s*");
    Pattern D_REGISTRY_SPLIT_PATTERN = Pattern.compile("\\s*[|]+\\s*");
    String SEMICOLON_SEPARATOR = ";";
    Pattern SEMICOLON_SPLIT_PATTERN = Pattern.compile("\\s*[;]+\\s*");
    Pattern EQUAL_SPLIT_PATTERN = Pattern.compile("\\s*[=]+\\s*");
    String DEFAULT_PROXY = "javassist";
    String DEFAULT_DIRECTORY = "dubbo";
    String PROTOCOL_KEY = "protocol";
    String DEFAULT_PROTOCOL = "dubbo";
    String DEFAULT_THREAD_NAME = "Dubbo";
    int DEFAULT_CORE_THREADS = 0;
    int DEFAULT_THREADS = 200;
    String EXECUTOR_SERVICE_COMPONENT_KEY = ExecutorService.class.getName();
    String CONSUMER_SHARED_EXECUTOR_SERVICE_COMPONENT_KEY = "CONSUMER_SHARED_SERVICE_EXECUTOR";