The judge ruled that two social media posts targeting Meloni by journalist Giulia Cortese amounted to “body shaming.”