display: Remove meta_grab_op_is_moving_or_resizing

It's unused.
display: Use a named mask constant inside is_moving / is_resizing

This helps clear up what's going on a bit.
display: Fix the base type check inside is_keyboard
display: Replace the inline logic with a static inline

So we won't get it wrong in the future.