vout: process mouse events on the event thread
This is the first of MRs to get the video output thread and lock out of the way of mouse event processing. Namely this moves the processing out of the thread, leaving the lock to take care of for the second MR.
This also removes the control queue properly speaking, leaving only the control lock.
Refs #25479 (closed)
Edited by Rémi Denis-Courmont