Get dropdown child categories from parent category of custom post type

WordPress always has similar function to a list, you may try wp_dropdown_categories instead of wp_list_categories. It takes almost the same arguments, which is not related to list items.

$tax = get_term_by('slug', 'cursos', 'portfolio_category');
$tax_id = $tax->term_id;

$args = array(
    'child_of'   => $tax_id,
    'taxonomy' => 'portfolio_category',
    'orderby' => 'name',
    'show_count' => 0,
    'hierarchical' => 0
);

wp_dropdown_categories($args);

This function echoes complete select element by default, so you don’t need manually echo select tags.
Check documentation for additional attributes if you need them (displaying option if there is no term or for selecting all terms)
Code Reference: wp_dropdown_categories

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)