Habitat availability and gene flow influence diverging local population trajectories under scenarios of climate change: a place‐based approach