ipc/android: Allow none activity context for overlay app
https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XR_EXTX_overlay
We use Android Service to implement an overlay app which can start an overlay session and submit layers.
In this case, the context is not an Activity but a Servcie.