A top executive with the company that owns the software the state uses to track medical marijuana sales pleaded guilty to a white-collar felony in federal court in New York.