Wrexham secured their third consecutive home win in League One courtesy of Ollie Rathbone's injury-time winner.