Asymptotics for the heat content of a planar region with a fractal polygonal boundary