Police arrested dozens of people, including Istanbul Mayor Ekrem Imamoglu, who was expected to be the opposition party’s presidential candidate.