MATT-GS: Masked Attention-based 3DGS for Robot Perception and Object Detection