The gathering comes as the defense secretary is facing precarious times as the public face of the Trump administration’s unpopular war against Iran.