The -Filter parameter takes a string argument, not a script block. And, since you looking for disabled computer objects, you have to check the "Enabled" property.
Try this as the filter string:
"LastLogonTimeStamp -lt $time -and Enabled -eq 'false'"