Filter a11y events by display id for AccessibilityDisplayProxy

Before dispatching the accessibility event, check if the event’s
display id belongs to a proxy display. If so, only send the event
to that proxy.

Also, improve locking.

Test: manual test with sample app. Added cts test in
AccessibilityDisplayProxyTest
Bug: 241429275

Change-Id: I12033ce6b394482d0d7f2b9eac3fd759f3f88851
3 files changed