The governor of Utah signed a controversial bill on Thursday that will require minors to obtain the consent of a guardian before joining social media platforms, marking the most aggressive step yet by state or federal lawmakers to protect kids online.