Android: Cleanup of touch input clearing and wakelocks

- Removed unneeded variables
- Made touch state and pointer id much nicer.
- Very minor formatting