Wrexham scored an injury time winner to pip Swansea City to a top four finish after phase one of the Adran Premier.