Chicago has elected Brandon Johnson as the city’s 57th mayor as residents sought new leadership amid frustrations about crime, housing, and other quality of life concerns.