Tennis is rushing to partner with prediction markets, with gamblers making millions of dollars of “trades” on individual matches, and fans sometimes glued to their phones in their seats.