As for Wesley taking dilithium from Enterprise to power Hathaway ...
What this says is that there's something
about dilithium that makes it difficult to obtain.
Could Wesley have replicate it? Sure, and the Enterprise has to sit motionless for a couple of days, it's major systems shut down, while the replicator makes one crystal.