CellPainTR: Generalizable Representation Learning for Cross-Dataset Cell Painting Analysis