Deserialize from a GLib.Variant. Accepts either a plain string (treated as plaintext) or a dict with MarkupContent.kind and MarkupContent.value properties.