Social media companies would be made to boot children off their platforms and make sure they stay off under the government’s plan to legislate a minimum age for access.