Sydney jury convicts machete-wielding man of terrorist act