When Madeline Li scored a lead role in a school play as a 12-year-old, it put her on a path she still follows.