Firefighters are battling wildfires in the city of Lithgow, north-west of Sydney with the state of New South Wales in a seven-day state of emergency.