The prosecution has rested its case against the president’s son Hunter, who is accused of lying on a federal gun-purchase form when he said he wasn’t using drugs at the time he bought a revolver in 2018.