Katie Zacharia replaces Karoline Leavitt, who stepped down in August after becoming one of the most prominent public faces of Trump’s second administration.