A major Second Amendment case could determine how far states can go in banning the firearms owned by millions.