Water-cooled energy storage inverter