Retrieves the InputDevice with the given device_id
device_id
a DeviceManager
the integer id of a device
a InputDevice or null. The returned device is owned by the DeviceManager and should never be modified or freed
null