Quantum reactive scattering for A+BCD→AB+CD reactions: Coupled channel distorted wave theory