wayland: Defer text_input.done on an idle
With the right priority so we hopefully group events properly.
NB: This is a horrible hack, but every other fix we can do to day also is. This at least has the added benefit that it doesn't contravene the protocol.
Edited by Jonas Ådahl