window: Move recalc_type to window-x11.c

It's only used by the X11 codepath.
window: Replace meta_window_type_changed with meta_window_set_type

Which does the equality checking for us.