Reduce unnecessary process lookup by pid

Since the process record of window is stored in Session, it can be
accessed directly. That reduces binary search from all processes.

Bug: 163976519
Test: WindowManagerServiceTests
Change-Id: Ice8d971e66afbd9896087efb787df60ec554e69f
2 files changed