Minn. court affirms wild rice protection