Climate variability drives global decline of forest resilience