The top US vaccine official has resigned and criticised the nation's health department boss for allowing "misinformation and lies" to guide his thinking.