Stability of Standing Waves for Nonlinear Schrödinger Equations with Inhomogeneous Nonlinearities