Former jail inmate, who says twitching led to guard attacking him, files lawsuit