Only run transition callbacks if order state is cart

Calling order.next_transition.run_callbacks with order in payment state
might raise

  undefined method `run_callbacks' for nil:NilClass

And we only need to call that manually when changing from cart to
address

Fixes #3612
Fixes #3613