A federal appeals court reversed a lower court’s decision to throw out a $1 billion lawsuit filed against YouTube by Viacom and other media companies five years ago. The copyright infringement suit, which has become a symbol of the clash between entrenched media companies and the upstarts that compete with…