SAN FRANCISCO — Three times over the last two years, school officials from Little Falls, Minn., have escaped the winter cold for two-day trips to Silicon Valley. Their destination: the headquarters of Apple.