Alan Rosa says he objected to budget cuts that would have put Twitter, now X, at risk of violating a security practices