Gen Z and millennials were nearly four times more likely than baby boomers to say politics distracted them from their jobs.