San Francisco hotel owners and trade groups are locked in a legal battle against local authorities over an ordinance that officials and labor leaders say will set the standard in post-COVID occupant safety but that hoteliers argue makes hotel operations unsustainable.