Jack Dorsey has to choose between Twitter and Square Inc., a Twitter shareholder says in a Court of Chancery lawsuit.