xwm: Check whether the seat is NULL when needed in weston_wm_handle_button