Lagrangian Grassmannians, CKP Hierarchy and Hyperdeterminantal Relations