Compositional Flows for 3D Molecule and Synthesis Pathway Co-design