An 18-year-old has been denied bail over an alleged “targeted” knife attack on another teenager just metres away from a major police station.