Pierce County prosecutors told Swank in a legal memo that his statements on the social-media platform X are contrary to law and policy.