Add a hacky patch that ensures QTabletEvents to be ignored in distribution builds
If we ensure that all the tablet events are ignored, then Qt
will always generate synthesized mouse events, avoiding the
problem of lost Enter/Leave events.
We also mark our own build of Qt about the presence of the fix
(therefore, it doesn't need this hack).