A teenager accused of assaulting a man on a night out with friends – leading to his death a week later in hospital – has fronted court for the first time.