Police arrested a 17-year-old on suspicion of a hate crime and carrying an offensive weapon in the capital.