Long before Silicon Valley promised low-risk companionship, Marie de France dissected the mechanics of intimacy gone wrong.