Move InputWindow to shared JNI from services JNI.

In preparation for passing the InputWindowInfo through
SurfaceFlinger we will need to be able to access it from
SurfaceControl which lives in the shared JNI. Thusly, we must
also move the InputWindowInfo helpers there. This also tracks the
move in frameworks/native of InputWindowHandle from libinput to
libgui.

Bug: 80101428
Bug: 113136004
Bug: 111440400
Change-Id: I16cd4c96c5f4e3f6d9e8d96cdaffc9e4b52d368e
7 files changed