Americans are leaving some of the nation’s most flood-prone communities at an accelerating pace, suggesting that climate concerns are beginning to influence migration decisions alongside more traditional factors such as housing costs and quality of life.