ocaml-opam: enable MDX on lib/opam.mli, fix broken doc example
Run mdx on lib/opam.mli so the {[ ... ]} odoc block now type-checks
the codec construction + decode round-trip.
The example referenced a free `input`. Replaced with a concrete
opam-format string literal, decoded it, and asserted on the resulting
record fields (`pkg.name = "demo"`, `pkg.depends = ["ocaml"; "dune"]`)
so the documented codec actually demonstrates a working decode.
Errors surface via `Fmt.failwith "%a" Opam.Error.pp e` rather than
`Result.get_ok` swallowing them.