The secretary of state is shaping what could be the most consequential military actions of President Trump’s second term.