From retirees to remote workers to families seeking a cultural reset, foreigners are choosing this city for reasons that go far beyond a pretty postcard view. Here is what is powering that shift.