Stanford Law School is hosting a program to define and train the next generation of legal engineers, a role that has grown in prominence as law firms and legal teams face growing pressure to adopt AI.