Revamping a stately classic on the Maine coast gives the old house hip new interior that celebrates its waterfront location and the owner's urban side