Twitter on Friday began restricting posts with links to Substack, a popular writing and newsletter platform.