The New York attorney general’s lawsuit would ban Alex Mashinsky from doing business in New York and require him to pay damages