That's not an easy calculation.
When walking, you are constantly using energy to hold the wood. It should be possible to compute the force needed to hold the load, for the time of the trip. Presumably the energy needed to pull the load as you walk is negligibly similar to just holding it. And similarly you should be able to compute the energy needed to lift the load by the change in elevation. However, there is an issue here. Walking is not like a frictionless roller coaster experiment, where the effort is proportional to the change in elevation. When you walk down a hill, you are spending significant energy to keep yourself from speeding up. So I'd estimate that the effort to walk down hill is near the energy to walk on flat ground. But the energy to walk up hill should be the same as roller-coaster physics. So you need to calculate the energy based on the total virtical distance climbed, not the change in elevation.
With biking, your load is on the bike rack, which means you are not holding it all the time. In fact part of the time you are not pedaling and therefore not spending any effort. The amount of energy used is proportional to resistance of your pedals, which is not constant. If you are constantly stopping at lights and such, then topological awareness will not give you much of an idea of how much energy you're using are doing. So you are left with estimating the typical resistance, and the fraction of time pedaling (or distance, it should give the same result). If you can replicate the pedaling you do on the trip on an exercise bikes, then it should tell you the calories burned.