A sweeping new framework sorts esports from gambling dens and gives an impatient industry something it has long been asking for: a rulebook.