The Trump administration is considering making it a requirement for foreign visitors to the United States to turn over personal information, including the contacts in their cell phones and the passwords to their social media accounts, as part of a proposed overhaul of the screening procedures.