Speaking in North Dakota, at the heart of America’s oil and gas boom, Mr. Trump vowed to restore coal mining jobs and “cancel” the Paris climate change accord.