Peter Thiel’s foundation gives young builders two years, a grant, and a network. Its wager is that a few ideas deserve a head start on the usual career.