Make Scene::createStackingOrder() more efficient
Currently, there's a separate pass to filter out windows not ready for compositing or windows that must be invisible. That has two issues: we could merge that pass with the pass that populates stacking_order and "windows" can detach.