Flowsheet synthesis through hierarchical reinforcement learning and graph neural networks