Man accused of random attack at Maitland refused bail