A nonlocal theory of sediment buffering and bedrock channel evolution