Judge backs Lake County teacher's firing over 'lewd' TikTok posts