Pseudomodes Theory beyond the Rotating-Wave Approximation