Jenny Gersten, who took over as the artistic director of the Williamstown Theatre Festival in 2010, will depart the Massachusetts theatre company at the end of the year.