Test-Time Alignment of Text-to-Image Diffusion Models via Null-Text Embedding Optimisation