Last week’s presidential defeat revealed a Democratic Party that agrees on core principles, but remains divided over which issues to emphasize, how steeply to oppose Donald Trump’s incoming administration and how best to rebuild after years of statehouse losses to Republicans.