Contemporary resonances run through Thomas Ostermeier's staging of Ibsen's drama at the Duke of York's Theatre, London