NSPCC queries High Court judge's smacking remarks