IANAL, but as far as I am aware, international borders fall under federal jurisdiction, not state. U.S. Border Patrol is a federal organization, for instance. Since marijuana is still illegal under federal law, I'd imagine that Alaska state law couldn't protect you in the event of a seizure. I don't have any personal experience attempting to bring weed across a federal border point, but my gut tells me it's not a great idea. Feds are still gung-ho about enforcement. In a federal trial, penalty for possession (any amount) is a misdemeanor, punishable by up to a $1,000 fine and 1 year in jail.
(Open to correction, enhancement, or clarification from anyone who is a lawyer, and/or who has experience in these matters).