Linear and Non-Linear Polarising Meta-Optics Enabled by Photonic Inverse-Design