Searching for MeV-scale Axion-like Particles and Dark Photons with PandaX-4T | Synapse