Filter DisplayDevices that don't receive input when finding transform

Input refers to displays by displayId (layerStack id). When looking for
the display transform to use for input, skip the DisplayDevices that
cannot receive input, such as mirrored displays that have the same
layerStack id.

After filtering, there should be only one DisplayDevice per layerStack
that can recieve input.

Bug: 179274888
Test: Presubmit
Test: atest WMShellFlickerTests
Change-Id: If880b9b7ead73cc168fafb23cad25005489ececc
1 file changed