A major road in North Yorkshire is set to be closed due to the high winds the Met Office said could reach 70mph.