The Supreme Court will consider whether the Second Amendment permits a law that bars firearms in many stores.