[turbopack] Conditionally create pages router data endpoints. (#84194)
Pages router data endpoints are only needed or used in `dev` but we would unconditionally create them even in `build` scenarios`.
This clarifies the API and modifies `endpoint` collection to also collect these when they exist. This will unblock enabling the `whole_app_module_graph`