Hundreds of thousands of people have been evacuated, and airports and schools closed after a typhoon made landfall in Vietnam.