SAN FRANCISCO—In recent years, students at Malcolm X Academy in the city’s Bayview section have been coming up with design ideas for a paved pathway that will eventually link their public elementary school to a housing complex that’s under construction nearby. The complex is slated to replace a once-crumbling public housing development that was torn down in 2010.