Well there is the free
Negative or if you use Preview, you can invert the screen colors for the entire system by pressing
Command-Option-Control-8. Press the sequence again to restore the default color scheme.
if you permanently want to convert files install
Imagemagick (via homebrew for example) and use:
convert -density 150 -channel RGB -negate "your-black-text-on-white-file.pdf" "inverted-new-file.pdf"
in the terminal. You can adjust the output dpi as well as the color model used in your “original” pdf if needed.