Limited evolutionary rescue of locally adapted populations facing climate change