Make XInput fix optional

The XInput issue was fixed in gtk some versions back.
The fix provided by Xournal++ does in this case have
the opposite effect of breaking everything. The fix
can now be enabled / disabled from the settings dialog
without having to recompile the code.