The case concerns a challenge to a California law that places strict limits on carrying guns in public — one of numerous Second Amendment cases the court has turned away in recent years.