Heat is the nemesis of EV performance. Mercedes-AMG engineers went all-out to contain it.