Australian Marc Leishman moved within three strokes of the lead during the second round at the Wyndham Championship.