An upbeat new musical pushes a girl-power message, casting two historical characters as strong-willed, smart, selfless heroines who choose their own destinies.