Uncovering the Driving Factors of Carbon Emissions in an Investment Allocation Model of China’s High-Carbon and Low-Carbon Energy