I think he won't, if Ortiz KO's him it will be certainly lucky punch. And in general HW is weak right now,r eally only Joshua can be a threat for Wilder, therefore retirement is meaningless for Wilder.
He wouldn't quit, he'd take some time out and then try and come back face some weak opponents like Martin has and beg AJ or whoever is champion then for a shot to try and cash out.