A Cedar Park neighbor of a planned 104-unit affordable housing development lost a lawsuit that challenged the city's zoning change to facilitate the project.