President Trump has excluded two Democratic governors, Wes Moore of Maryland and Jared Polis of Colorado, from a White House dinner with governors.