Leaders from across the technology industry criticized President Donald Trump’s temporary ban on foreign nationals from seven Muslim-majority countries, ending weeks of cautious engagement with the new president, whom many in Silicon Valley opposed. Alphabet Inc.’s GOOG, -1.06% GOOGL, -1.39% Google,…