Legacy effects of past thinnings modulate drought stress reactions at present