ocaml-tty: enable MDX on lib/tty.mli
Run mdx on lib/tty.mli so the four {[ ... ]} odoc blocks (Styled
Text, Tables, Trees, Panels) now type-check.
Each block was a `let () = ...` toplevel-effect snippet that would
print to stdout at mdx test time. Renamed each to a `demo_X`
function (`demo_styled`, `demo_table`, `demo_tree`, `demo_panel`)
so the example shows the rendering wiring without flooding stderr.
Two API drift fixes:
- The Tree node constructor needed `Tree.Node` (not bare `Node` after
`open Tty`).
- `Panel.create` is named `Panel.v`.
Switched the printers to `Fmt.pr "%a@."` instead of passing
`Format.std_formatter` directly, matching the repo's Fmt convention.