Don't include time to run event handlers in 1000ms window.

In other words, ignore mousedown events that occur <1000ms after the last
touchstart handler has finished running, rather than 1000ms after the touchstart
event.

Fixes [#17634](https://bugs.dojotoolkit.org/ticket/17634).