Optimal neural summarization for full-field weak lensing cosmological implicit inference