highgui: wayland: fix leak of frame callback

This was reported by Valgrind.
highgui: wayland: do not redraw at every WaitKey