Listen for SessionManager onSessionEnded so idle timeout and other
receiver-side stops reach jellyfin-web. Treat non-connected CastSession
objects as dead in initialize/requestSession, and clear the native
session when setSession(null) is called.
Should fix#1852