Removes usage of deprecated XKeycodeToKeysym function in X11 example.

Provides proper example of key mapping for all versions of X11 since R5 to current, including preferred usage of Xkb extension for performance and fall back support for virtual frame buffers such as x11vnc.