The role of genetic structure in the adaptive divergence of populations experiencing saltwater intrusion due to relative sea‐level rise