How U.S. military lawyers see Israel's invasion of Gaza--and the public's reaction to it--as a dress rehearsal for a potential conflict with a foreign power like China.