A Riemann-Hilbert Approach to a Generalized Nonlinear Schrödinger Equation on the Quarter Plane