Encode a boxed NullableValue through the selected format's writer.
The object mapper calls this for properties. In Codec, the base implementation calls Codec.unpack and then typed Codec.encode for non-null values.