Charities Housing has leased land from a Silicon Valley transit agency to build 45 affordable townhomes in San Jose.