xwm: Don't forget to update server states

This fixes a bug when resizing after maximize toggle. It also updates the application
so that it remembers its maximized state.