Republicans are worried that Libertarian candidates could siphon away votes in some of this year’s most consequential U.S.