Move shouldSplitTouch into anonymous namespace

This function doesn't need to access any of the dispatcher state. Move
it into the anonymous namespace so that's it's easier to reason about
the dispatcher code.

Bug: 211379801
Test: none
Change-Id: I369fff8f17d04579a33ab0d8ca93af57553a5e99
2 files changed