Evolution of developmental potential and the multiple independent origins of leaves in Paleozoic vascular plants