The governors of Illinois and Colorado, both Democrats, have announced the formation of a new alliance to resist President-elect Donald Trump’s policies, just weeks before he is set to assume office.