An ES-BGK model for the kinetic analysis of a chemically reacting gas mixture