Patent holders are still largely white, male and wealthy, research shows.