Long before Silicon Valley embraced Trump, Joe Lonsdale wanted to remake government and shift the nation’s approach to homelessness. Now, his friends in the White House are listening.