Adjust oven rack to middle position and heat oven to 375 degrees. Combine ricotta, ½ cup Parmesan, lemon zest, ¼ teaspoon salt, and ¼ teaspoon pepper in bowl; cover and refrigerate until needed.
Heat oil in 12-inch ovensafe nonstick skillet over medium heat until shimmering. Add squash, leeks, and ½ teaspoon salt and cook until leeks are softened, about 5 minutes. Stir in garlic and cayenne and cook until fragrant, about 30 seconds. Add wine and cook until almost completely evaporated, about 1 minute.
Stir in water and cream, then add pasta. Increase heat to medium-high and cook at vigorous simmer, stirring gently and often, until pasta is tender and liquid has thickened, about 15 minutes.
Season with salt and pepper to taste. Sprinkle remaining ½ cup Parmesan over top, then dollop evenly with ricotta mixture. Transfer skillet to oven and bake until Parmesan is melted and spotty brown, about 5 minutes. Remove skillet from oven (skillet handle will be hot). Let cool for 10 minutes, then sprinkle with basil and serve.
