Improved X11 get_clipboard_text().

Handle events while waiting for SelectionNotify events, and time
out if we don't receive one within 100ms.