Wilkie Collins drew on his legal training to dramatize the inequality caused by outdated laws regarding marital and property rights