Left-wing activists have shifted focus from climate and race to Gaza, reflecting a recurring “woke apocalyptic” political style.