Around a dozen states have introduced legislation that would upend the way hotels, airlines, and OTAs set prices.