Gabriel Attal has called on President Emmanuel Macron to put a proposed ban on social media for children under 15 directly to French voters, after the Constitutional Council struck down legislation approved by parliament.