Court document shows US troops surveilling migrants at the Mexico border