Remotes: Add support for sending keys to X11

Can be used with GStreamer's ximagesrc for testing desktop applications
and websites.