Shorebirds undertake some of the world’s most impressive migrations — but as sea levels rise, the habitats that they depend on are expected to shrink.