Dispose libinput_device in the input thread
The libinput_device may end up destroyed from the main thread. Avoid that by disposing the device early when emitting CLUTTER_DEVICE_REMOVED.
The libinput_device may end up destroyed from the main thread. Avoid that by disposing the device early when emitting CLUTTER_DEVICE_REMOVED.