The Treasury secretary said the administration is focused on allies’ trading practices and foes’ energy exports.