Glauber model for a small system using the anisotropic and inhomogeneous density profile of a proton