Last year was the hottest in earth’s recorded history, scientists reported on Friday, underscoring scientific warnings about the risks of runaway emissions and undermining claims by climate-change contrarians that global warming had somehow stopped.