Michael Foran, an associate professor of law at Oxford University in England, canceled the final two lectures of a four-part series related to his new book, “Sex, Gender Identity and the Law," after disruptive protests led by pro-transgender activists.