New York City's proposed ban on large sugary soft drinks has been struck another blow after an appeals court upheld an earlier decision dismissing the measures.