When the seat's current keyboard is destroyed, sway_keyboard_destroy()
sets the seat keyboard to NULL, even if other keyboards are still
attached to the seat. A common case is a virtual keyboard: wtype or an
on-screen keyboard types a key, which makes it the seat keyboard, and
then goes away. Until a key is pressed on another keyboard, a client
that binds wl_keyboard gets keyboard focus without any keymap event;
wev crashes in libxkbcommon.
Hand over to another keyboard of the seat instead: a keyboard group
first, then an ungrouped keyboard that has a keymap. The seat keyboard
only becomes NULL when no other keyboard is left.