California positioned itself as the moral, anti-Trump alternative, ready and willing to be the left’s standard-bearer in the political and cultural wars that have threatened to destabilize society.