India is becoming a case study in how rising temperatures can undermine productivity and growth in nations that still rely heavily on physical labor.