Fix locking bugs with XIAllowTouchEvents() and XIUngrabTouchBegin()

Fix two places where the display was double locked when an API
function chained to an implementation that also locks the display.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>