Herself an Author: Gender, Agency, and Writing in Late Imperial China