Two of the state’s largest, most troubled virtual schools were put on notice Monday night that their charters could be revoked after their authorizer alleged that thousands of enrolled students went semesters or sometimes years without earning any credits or even signing up for classes.