Parents of children with special educational needs face a ‘postcode lottery’ to secure specialist provision, a school leaders’ union has warned.