Texas A&M is buying the law school at private Texas Wesleyan University, a purchase that sets up a public law college in the metroplex and fulfills a long-sought goal for officials at one of the nation’s largest universities.