The court, which has decided very few Second Amendment cases, will consider whether the government may disarm people subject to restraining orders for domestic abuse.