The Center for Democracy and Technology has sued President Donald Trump over an executive order seeking to crack down on social media companies' "selective censorship" after Twitter flagged one of the president's posts as potentially misleading.