Nonuniform Quantum-Confined States and Visualization of Hidden Defects in Pb(111) Films