Former Mayor Pete Buttigieg wedged in a few lines in Spanish in the Democrat presidential debate on Wednesday, as he came under attack from presidential rivals.