How to dequeue wp_get_custom_css in Twenty Twenty Theme

That style HTML is added by WordPress using wp_custom_css_cb() and it’s hooked to wp_head like so:

add_action( 'wp_head', 'wp_custom_css_cb', 101 );

Which adds the custom/additional CSS in the document head.

So if you don’t want that to happen — or you’d rather add/load the CSS manually, you can add this to your theme functions.php file:

remove_action( 'wp_head', 'wp_custom_css_cb', 101 );

tech