Paul Thomas Anderson’s spectacular, exquisitely detailed fantasy of revolution and resistance, starring Leonardo DiCaprio, looks to history for visions of hope.