The federal government has cleared the way for detailed planning work to start on a high-speed train line between Sydney and Newcastle.