The High Court has upheld a challenge by fast-food operators to the constitutionality of laws setting mandatory minimum rates of pay and conditions for more than 190,000 workers.