Heading is simply the direction of the fuselage. At 90 degrees pitch, it becomes academic as the compasses will tell you when they start spinning in confusion. Track is simply defined as the direction the aeroplane is moving in on the ground, so I would expect 90 degrees up to then mean track was wind direction. Academic.....not real life........