TIMOB-16204-3_2_X: Null check on gestureDetector when touch is not enabled.

https://jira.appcelerator.org/browse/TIMOB-16204

Test case in Jira.