backends/x11: Improve grab-device clock updates

Ghost User requested to merge (removed):timestamp_overflow into master

meta_backend_x11_grab_device is performing X server clock comparison using the MAX macro, which comes down to a simple greater-than.

Use XSERVER_TIME_IS_BEFORE, which is a better macro for X server clock comparisons, as it accounts for 32-bit wrap-around.

Merge request reports