Dry weather in southwestern China has crippled huge hydroelectric dams, forcing cities to impose rolling blackouts and driving up the country’s use of coal.