Man uses racial slur, slaps toddler on plane