A National Rifle Association lawyer was grilled by a New York appeals panel Thursday about how much cause state Attorney General Letitia James needed to open an investigation the organization argues was illegitimate, saying a lower court “cut off that inquiry.”