Add state checking to IPC calls in PlatformXRSystem. Remove unneeded parameters to InitializeTrackingAndRendering().
<rdar://problem/121553978>
Pull request: https://github.com/WebKit/WebKit/pull/23536
Committed 273875@main (bd55010ecc7f): <https://commits.webkit.org/273875@main> Reviewed commits have been landed. Closing PR #23536 and removing active labels.