core/window: Propagate focus appearance to all ancestors
The loop in meta_window_propagate_focus_appearance breaks if any ancestor has attached_focus_window == focus_window but further ancestors might still have a different attached_focus_window.
Continue the loop until the root ancestor instead.
Closes: #2913 (closed)