High-field state of the flux-line lattice in the unconventional superconductor CeCoIn5