Iranian President Hassan Rouhani, a 68-year-old moderate cleric who spearheaded a 2015 nuclear deal with world powers, has framed the vote as a choice between greater civil liberties and “extremism.”