A mother has been left in a coma in a life-threatening condition after being stabbed as she tried to intervene in a fight at Notting Hill Carnival, a court heard.