Inspections of academy trusts could be launched in 2027-28 as Labour legislates for a major new role for Ofsted.