Hi,
I have the same issue where Bluetooth keyboard and mouse are lagging during Teams meetings where I have to share my screen.
If I plug-in the keyboard with the cable, the lag disappears. Then, it has to something related to the bluetooth.
I'm using a Macbook pro 16 inc M2 with macos Ventura 13.4.1
Regards