Cleaner control flow in GenericEvent/XI_RawMotion handling.
Free memory after using XGetEventData().