A federal appeals court on Thursday ruled against a federal law requiring young adults to be 21 to buy handguns, finding it violated the Second Amendment.