window: Fix build

The proper function name is "meta_window_recalc_features"
window: Split out logic for determining whether an X window is ours
window: Clean up is_our_xwindow