Minn. high court case could reshape teacher tenure