X11: Reset clipboard/selection if there is no owner

Accessing list of formats of QClipboard::data() can be very slow and can
stop ClipboardMonitor for few seconds.

Instead use XGetSelectionOwner() from Xlib directly to check if
clipboard or selection is empty.