Australian writer Yang Hengjun has been formally arrested in China on suspicion of espionage and is being held in “harsh conditions”, the Australian government said on Tuesday.