Really run onstop script only if MPD was playing or paused
The onstop script is also called if the MPD state is unknown. This leads to
running the onstop script immediately after starting upmpdcli. Fix this by a
better check for the current MPD state.