The exhibition at Basel’s HEK showcases artists whose work responds to “unstable and apocalyptic” times, drawing on religion, myth and ritual