Don't set client visibility to false while resumed

Some apps seem to break if they don't receive pause before
their main window loses client-visibility. This means apps which
tie their rendering state to lifecycle instead of whether
the destination surface exists.

To keep these apps working, Prevent setting client-visibility
to false while the app is in resumed state.

Bug: 277725896
Bug: 296994396
Test: Open an app, enter recents, stop recents transition (eg.
      by long-pressing the livetile). Observe app receive pause
      before client-visibility change.
Change-Id: Ifea1a9ebfe3583a73e7693520c628b6da791fee1
1 file changed