Search for vector dark matter in microwave cavities with Rydberg atoms