The mayor of Pope Leo’s hometown of Chicago called his election “one of the biggest moments in modern history” of the city.