The playwright on the new production of her play “Mary Jane,” which stars Rachel McAdams as the mother of a two-year-old born with serious medical conditions.