Add support for WS_VALUE_TYPE_NAMED in ws_value_union_init_from_val()

Targets #467 (`src/values/union.c`) partially.