A 15-year-old boy was rescued after clinging to his capsized boat for two days in Alaska.