The State Department inspector general fired by President Trump on Friday was investigating whether the administration had unlawfully declared an “emergency” last year to allow the resumption of weapons sales to Saudi Arabia and the United Arab Emirates for their war in Yemen, according to a Democratic member of Congress who asked for the inquiry.