A federal appeals court has stayed a preliminary injunction that barred the state from enforcing a 50-person gathering limit on a wedding celebration.