Two pilot programs by start-ups in Silicon Valley are testing ways to bring to market a long-promised innovation of the Internet era: the digital wallet.