Lipid partitioning at the nuclear envelope controls membrane biogenesis