From Hilary Mantel to Irenosen Okojie, contemporary writers are rewriting the story of illness and the female body