Proposed legislation would block access to social media platform with ties to Chinese Communist Party on state devices.