I think the question here can be simplified to "Do effects and conditions carry over when changing from one's main form to the shapechanged/polymorphed/beast form and back, or not."
If an effect from a barkskin spell carries over, then the max hit point reduction from an undead's draining...