“DC’s Stargirl,” a superhero series starring Brec Bassinger, was canceled ahead of its Season 3 finale.