Searching for Two-Neutrino and Neutrinoless Double Beta Decay of ^{134}Xe with the PandaX-4T Experiment.