On a waterfront stretch of Long Island, architect Bill Ryall devises an elegant, eco-friendly house to withstand the worst