Keep active agent sessions visible

Fixed the "Hide sleeping" sidebar filter to properly recognize workspaces with running agent sessions, even when their live terminal connection is temporarily absent (like during SSH reconnects). The filter now checks for active agent status in addition to live PTY connections, matching the behavior of the smart sort feature.