Childhood friend raises £25,000 in challenges inspired by schoolmate who lost leg