President Trump suggested that the Obama administration did not do enough to prevent the Kremlin’s influence campaign.