Footballer Antoine Semenyo "froze" after he was allegedly racially abused by a Liverpool fan at Anfield, a court has heard.