PLEASANTON — An Alameda County Judge says the city of Pleasanton’s voter-approved cap on the number of residences in the city violates state…