A federal appeals court on Friday ruled against a couple who sought to hold a wedding celebration that would have exceeded a New York gathering limit of 50 people.