What's the best way to seal foam before layup?
If you are going to leave the foam on the inside you can use polyurathane expanded foam ,this is used in ice chests and I think surf boards as it is not attacked by polyester .
BUT DO NOT HOT WIRE CUT IT AS IT GIVES OFF CYANYDE FUMES.
Hope this helps
Terry