Dynamics of three-form dark energy with dark matter couplings