Cognitive Impairment in a Child With Anti-N-Methyl-D-Aspartate Receptor Encephalitis: A Case Report