Former Premier League footballer Jesse Lingard has told his grandfather's sexual assault trial he would have "cut ties" with his relative if he had known about the accusations against him.