When the McCarter's longtime artistic director leaves in 2020, she plans to do more of what brought her there 30 years ago: writing and directing.