Refine condition for starting window skip

If an app is in draw_pending state because of a pending resize,
we still want to skip starting windows. For that, we actually
check whether the app is visible or not.

Test: go/wm-smoke
Test: Open YouTube, go to PIP
Change-Id: Ib72d5c2302190ca3144c2036a06cacfd7df560f9
Fixes: 63924375
1 file changed