Roughly one-fifth of the productions staged at hundreds of theaters nationwide over the past three seasons were written by women, according to a new study.