From Maine to California, these beachside spots offer walkable charm, scenic beauty, and lifestyle perks for retirees.