wayland: Release input focus when window is destroyed

This fixes a seg. fault on the reopen test because events might occur after the window is destroyed (for example leave events).

also removed `wayland-client-protocol.h` because it's included in `wayland-client.h`