Taking out unneeded XLockDisplay and XUnlockDisplay function calls.

Those function calls have been unnecessary for a long time
and mouse movement is a bit smoother with the calls removed.