X11, give same input as gtk when pressing shift, tab, alt..

This sanitizes the X11 ui backend a bit. Before this patch, when pressing shift, alt or control, we would receive a keydown event with keysym "￡" because X11 would send 0xffe1 and 1string turns that into ￡. With this patches, the backend at least behaves like with gtk.