WASHINGTON — The Supreme Court said Tuesday it will take up its first gun rights case in nine years, a challenge to New York City’s prohibition on carrying a licensed, locked and unloaded handgun outside the city limits. The court’s decision to hear the appeal filed by three New York residents and New York’s National Rifle Association affiliate could signal a revived interest in gun rights by a more conservative court.