Add inverse_of for more associations involved in cart processing

The 2.3 specific inverse_of addition. Related to https://github.com/spree/spree/pull/5488.