Maher and Trump have had a contentious relationship, highlighted by a past lawsuit.