The couple’s ceremony overlooked Southern Maine’s rocky shoreline and offered views of yachts and colorful lobster boats in York Harbor.