input: mt: Move tracking and pointer emulation to input-mt