A Highland teenager has run a distance of more than two marathons - while doubling his fundraising target for his school.