I am not sure how to detect if tocuh interface is enabled or not but another way could be to query the current platform the game is running on. In blueprint you simple use the GetPlatformName node:
Then you could do a string compare for Android for example.
Hope this helps a bit.