Party officials across the country have sought to erect more barriers for young voters, who tilt heavily Democratic, after several cycles in which their turnout surged.