Nonlinear dynamics of a class-A two-photon laser with injected signal