Donald Trump’s “drill, baby, drill” motto will not alter British net-zero ambitions, the energy minister has confirmed.