Suppression of electron-phonon scattering in double-quantum-dot based-quantum gates