Large-scale prediction of the parity distribution in the nuclear level density and application to astrophysical reaction rates