Richard Lynn Upright, a former teacher at Vandalia Christian School in Greensboro, N.C., is accused of using artificial intelligence to place minors’ faces onto explicit images.