An "all-time high" temperature record has been set in the US state of Alaska, despite much of the country sitting in the Arctic circle.