Some Democratic governors are moving to inoculate their states from Trump’s policies, raising their profiles as the party searches for a new leader.