A ballot measure that would have lowered the approval threshold for local bonds to support affordable housing and other projects failed.