Reform UK is taking legal action against the government over its plans to allow some local councils to delay their May elections because of major restructuring.