Claudia Sheinbaum will be sworn in on Tuesday as Mexico’s first woman president, taking charge of the violence-plagued Latin American nation at a time of mounting security, economic, and diplomatic challenges.