The licensing agreement is the first of its kind between a major U.S. professional sports league and prediction markets.