Free a key event.
Referenced by ScimBridgeClientIMContextImpl::filterEvent(), and ScimBridgeClientIMContextImpl::x11FilterEvent().