A ruling by a federal judge in Texas striking down the Federal Trade Commission's ban on noncompete agreements in the workplace has set the stage for a court battle that is likely to end up at the Supreme Court.