Confusingly, the first argument to duckdb_create_list_value should be the type of the values in the list, not the type of the list itself. So, in your example, you would pass int_type, not list_type.
duckdb_create_list_value
int_type
list_type