Two teenagers have been denied release by a court after a stabbing attack at a shopping centre in Sydney’s north-west.