RemoteScrollingTreeMac::eventListenerRegionTypesForPoint() will use the CALayer tree off the main thread, so we should lock around this, and layer tree commits.
<rdar://problem/105987016>
Pull request: https://github.com/WebKit/WebKit/pull/11387
https://commits.webkit.org/261543@main