Close the MPRIS media notification when the player disappears
The code now checks if the player still exists.
Other expected functionality still works:
- Switching to another player if the player is paused and another player starts playing/is already playing
- The notification stays open if no player is playing, but the last player is still available