Stressed economies respond more strongly to climate extremes