Gun makers lose appeal of New York law that could make them liable for shootings