A federal appeals court on Tuesday upheld a finding by the Environmental Protection Agency that heat-trapping gases from industry and vehicles endanger public health, dealing a decisive blow to com