You're conflating several things.
- Public figures are public by influence; public servants are employees and can/should have their information revealed when necessary.
- Revelation of information of employees under public pay is not 'doxxing'. Making it seem as if it's 'doxxing' is stretching the definition, like saying someone merely touching you has committed 'violence'. Your intentional use of a more serious concept for a less serious one is misleading.
- Your private employer has no duty to the public, they answer only to the end stakeholders. In contrast, public servants must be accountable and known to the public - it's literally in their name, 'public' and 'servants'. Why you should confuse your status with that of public servants is bewildering.