Photo of Charlotte police officer consoling teen goes viral