[X11] Optimized XKey translation