Unable to elect legislative majorities, activists are trying to get the legal system to enact their desired climate policies.