Coherent X-rays reveal the influence of cage effects on ultrafast water dynamics