AI is transforming legal practice. Court leaders in Canada and the US can shape how it enters the justice system, or get led by it.