A West Virginia man alternately pointed a gun at officers and his own head