Democratic governors and state attorneys general are bracing for a Trump administration that could undo their policy goals.