highgui: wayland: cvWaitKey: support timeout a little bit

We don't know which incoming events are about keyboard (poll)