Get the state of the caps lock key of an event.
Referenced by scim_bridge_key_event_bridge_to_gdk(), and scim_bridge_key_event_qt_to_bridge().