Welsh schools will be divided into categories about the level of Welsh they teach pupils, under new government plans.