Cache native properties in SurfaceControl.java

Query and cache layerid, handle and name of a SurfaceControl when the
native object changes. This avoids an expensive jni call when querying
common properties.

Bug: 424176214
Test: presubmit
Flag: EXEMPT refactor
Change-Id: Ibec8dcbd69cbcfa245fb4c3ddf1bfb4c8b9bd317
2 files changed