backend/wayland: fix keyboard keys not pressed/released when focus changes
Test plan: using the Wayland backend, open weston-eventdemo
in rootston. In the outer compositor, change focus from the rootston window to another window using keybindings, and back. All keys should be released when rootston looses focus, and pressed again when focusing rootston again.
See #1024 (closed)