Election officials blast Trump’s ‘retreat’ from protecting voting against foreign threats