Lundie, Robert Henry, Presbyterian minister