A Polish court has convicted a man of raping, robbing and killing a Belarusian woman and handed him a life sentence in prison with a requirement for therapy.