You can try to search on Windows Update for optional driver updates. I did this (Windows 11) and got updates for Android adb and composite interface, two of them, I don't remember exactly the names.
After that I did reboot the computer and also the Xiaomi device and then it was working. Good luck.