Avoid copying touchpoints, and only check until we find a match.

Makes touch event delivery a little less intensive, especially with a lot of sibling items.

Upstream at: https://codereview.qt-project.org/#change,65709