I have an additional hypothesis for why holding your breath might give you more cognitive energy for a period of time. It could be that the stomach compression and neck muscle tension that often accompanies holding your breath is raising the blood pressure in the head area and thereby increasing blood perfusion.