High-pitch sound coming from my macbook pro when I move a wired mouse
I'm experiencing the exact same thing with my Macbook Pro 15" Retina (Mid 2014) using both the Logitech G Pro and older G500. 

However, I noticed that changing the polling rate for the mouse from 1000 to 250 makes the sound very hard to hear, though the higher polling rates of 500 and 1000 makes the sound more audible. Happens with either USB input and even if both mice are plugged in at the same time. Unplugging the power adapter does not make any real difference.