Opponents of a federal law that would move oversight of horse racing medication rules and drug testing from state regulators to an authority under the Federal Trade Commission have shifted their efforts from the political arena to the courts.