Officers detained three Black teens at gunpoint after witnesses say they called to report that a man armed with a knife had chased them