It appears from the language that you cite that the shared well agreement passes with the land and the belongs to the land owner, not a specific individual. But the only way to get a definite opinion is to have an attorney review the document. If you are concerned, you should have the real estate contract and the well agreement reviewed by a local attorney practicing real estate law. A one to two-hour consultation should cost about $200.00 to $500.00.
Legal Disclaimer: I am not your attorney. The only method of establishing an attorney--client relationship with me is by a retainer and fee agreement signed by me, which is not offered via this site. The information given is not legal advice and is for general information only. My answer is limited to the facts presented and may not be complete or applicable to your situation. My answer is given upon the condition that you will contact an attorney licensed in your state to receive legal advice that applies to your particular situation.