The insulation value of spruce wood (log house or cabin) is around R1.5 per inch of thickness compared to fiberglass at around R3.1 and foam from around R3 to R7 depending on the type of foam. Nearly everything is a conductor of heat, some things obviously much better than others.
The object here, it seems to me, is to keep the fuel from boiling and turning to vapor in the fuel line. On a very hot day or in traffic all of the fuel will be hot, including the fuel in the tank sitting way up high and behind the exhaust. It is probably very close to changing from liquid to vapor as it leaves the tank.
I believe the answers to your problem have already been suggested here. If it were mine, I would wrap the header to reduce under hood temperature as much as possible and buy or build an inline cooler that you can pack with ice or cold water when the need arises.
Living in Alaska all my life I have never experienced a vapor lock, but I understand how frustrating it could be. Good luck.