Monitoring Second-Order Hyperproperties