Nurses and midwives will strike for 24 hours in one Australian state following a breakdown in pay negotiations.