highgui: wayland: fix bug WaitKey doesn't wait forever on (delay == 0)