The president’s prime-time address shifted the national conversation back to election security, drawing swift reactions from lawmakers, media organizations, and foreign governments.