A 60-year-old man who posted racist messages about England defender Jess Carter online has received a suspended jail sentence.