Press Secretary Karoline Leavitt accused the Democratic legislators of attempting to undermine Trump’s authority over America’s armed forces