Former President Donald Trump's lawsuit to get his Twitter account restored must be heard in a California court, not a Florida one, under a user agreement covering everyone on the social media platform, a federal judge ruled.