A federal appeals says that, under licensing agreements, software makers could forbid the transfer or resale of their wares, an apparent gutting of the so-called first-sale doctrine of copyright law.