Controllable vacuum Rabi splitting and optical bistability of multi-wave-mixing signal inside a ring cavity