Speechwriter who was fired for attending white nationalist convention rehired in top State Department role