Turbopack: Add support for `extension` regex in `@next/mdx` (#78734)
Closes #78563 (replaces it)
Resolves #78348
This allows users the same flexibility they have with `@next/mdx` for webpack. It depends on #78733.
Test Plan: Included the integration test from #78563