Learn With Imagination: Safe Set Guided State-wise Constrained Policy Optimization