The vertical effects of disc non-axisymmetries from perturbation theory: the case of the Galactic bar