Bestselling author J.D. Vance has won Ohio’s contentious and hyper-competitive Republican Senate primary, buoyed by Donald Trump’s endorsement in a race widely seen as an early test of the former president’s hold on his party as the midterm season kicks into high gear.