wayland: Set a log handler

To see error messages and such
pointer: Remove focus listener

It's added too late to matter -- by the time we've destroyed the
resource, we've already repicked and re-set the focus.
pointer: Don't send leave events to dying surfaces

It's invalid and will crash the client.
keyboard: Remove focus listener
keyboard: Don't send leave events to dying surfaces