The New York Racing Association violated state law for its no-bid contract with a politically connected law firm, a New York state investigation has found.