WWE working with regulators to legalize gambling on scripted match