Police warned against ‘sinister’ use of facial recognition to find potential witnesses and not just suspects