A federal court ruled in favor of Latham & Watkins and against Sidley Austin in a dispute over the U.S. Food and Drug Administration's approval of a powerful sleep disorder drug.