fix(formatter): only expand mapped types when newline immediately follows opening brace
The previous logic expanded mapped types whenever there was any newline
between `{` and the property name. But Prettier only expands when there's
a newline immediately after `{`.
For example:
- `{ readonly\n [A in B]: T}` → single line (newline not immediately after `{`)
- `{\n readonly [A in B]: T}` → multi-line (newline immediately after `{`)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>