How playwrights from Alfred Jarry and Samuel Beckett to Tom Stoppard and Simon McBurney brought the power of abstract mathematics to the human stage