A conservative German politician has been convicted and sentenced for “inciting hate” after she made a social media post warning women about gang rapes committed by Middle Eastern immigrants.