The leaders of the state’s thoroughbred and standardbred horse racing industries announced an agreement on Monday — on the eve of today’s North Jersey casinos vote — that could raise the quality of racing in the state as well as help balance the industry’s books.