x11: Fix a deadlock in INCR transfers
There were a lot of things going wrong in the rare case where we do INCR transfers.
Thanks to the new clipboard demo, we were doing INCR transfers.
Here's the fixes to make that actually work.
Edited by Benjamin Otte