Looking at the female births in Wigtownshire in the early 1700, it looks more likely that Jannet (No Janet's in that period) and Mary were sisters. There were McNaught's born in the County during that period but no Duncan's.
There are possible marriages for John in Kirkcudbrightshire but more than 20 miles from Penninghame.
Colin