Churchill has adapted. The town turned to tourism, luring people eager to see its plentiful polar bears. Leaders figured out ways to revitalize its port and railway. As climate change has edged into the picture, they’ve begun designing more flexible buildings and seeking to entice more varied visitors if, as scientists fear, shrinking sea ice crashes the bear population.