New research finds that former President Donald J. Trump’s tariffs did not bring back U.S. jobs, but voters appeared to reward him for the levies anyway.