A turn-of-the-century trial, the focus of a new book, took aim at the Victorian double standard