You could make a screenshot of the activity details with the elevation gain on the screen, and then sharing that screenshot (it will be at the top of your photo gallery).