In a 7-2 ruling, the Supreme Court upheld the Biden-era regulation on the nearly impossible-to-trace weapons called ghost guns.