'That notorious homosexual': Liberal candidate resigns after attack on Tim Wilson