Sculpting Folding Pathways Through Physical Learning In Mechanical Systems