A Wrexham player has opened up about how he was close to quitting football following a serious ankle injury